import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { SharedModule } from '../../../shared/shared.module';
import { JzjcMainComponent } from './jzjc_main/jzjc_main.component';
import { JzjcDetailComponent } from './jzjc_main/jzjc_main.detail';
import { JzjcTool } from './jzjc_main/jzjc_main.tool';

// 集中监测
@NgModule({
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild([
      {
        path: ':type',
        component: JzjcMainComponent
      },
    ])
  ],
  providers:[JzjcTool],
  declarations: [JzjcMainComponent, JzjcDetailComponent],
  exports: [RouterModule]
})
export class JzjcModule { }
